package com.example.springboot.entity;


import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 *  实体类。
 *
 * @author wangl
 * @since 2023-08-17
 */

@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_device_state")
public class DeviceState implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备编号
     */
    private String deviceId;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 天猫精灵对应的openid
     */
    private String deviceOpenId;

    /**
     * AB相电压
     */
    private String abVoltage;

    /**
     * bc相电压
     */
    private String bcVoltage;

    /**
     * ac相电压
     */
    private String acVoltage;

    /**
     * a电流
     */
    private String aCurrent;

    /**
     * b电流
     */
    private String bCurrent;

    /**
     * c电流
     */
    private String cCurrent;

    /**
     * 轴承温度
     */
    private String bearingTemperature;

    @Override
    public String toString() {
        return "DeviceState{" +
                "id=" + id +
                ", deviceId='" + deviceId + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", deviceOpenId='" + deviceOpenId + '\'' +
                ", abVoltage='" + abVoltage + '\'' +
                ", bcVoltage='" + bcVoltage + '\'' +
                ", acVoltage='" + acVoltage + '\'' +
                ", aCurrent='" + aCurrent + '\'' +
                ", bCurrent='" + bCurrent + '\'' +
                ", cCurrent='" + cCurrent + '\'' +
                ", bearingTemperature='" + bearingTemperature + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceOpenId() {
        return deviceOpenId;
    }

    public void setDeviceOpenId(String deviceOpenId) {
        this.deviceOpenId = deviceOpenId;
    }

    public String getAbVoltage() {
        return abVoltage;
    }

    public void setAbVoltage(String abVoltage) {
        this.abVoltage = abVoltage;
    }

    public String getBcVoltage() {
        return bcVoltage;
    }

    public void setBcVoltage(String bcVoltage) {
        this.bcVoltage = bcVoltage;
    }

    public String getAcVoltage() {
        return acVoltage;
    }

    public void setAcVoltage(String acVoltage) {
        this.acVoltage = acVoltage;
    }

    public String getaCurrent() {
        return aCurrent;
    }

    public void setaCurrent(String aCurrent) {
        this.aCurrent = aCurrent;
    }

    public String getbCurrent() {
        return bCurrent;
    }

    public void setbCurrent(String bCurrent) {
        this.bCurrent = bCurrent;
    }

    public String getcCurrent() {
        return cCurrent;
    }

    public void setcCurrent(String cCurrent) {
        this.cCurrent = cCurrent;
    }

    public String getBearingTemperature() {
        return bearingTemperature;
    }

    public void setBearingTemperature(String bearingTemperature) {
        this.bearingTemperature = bearingTemperature;
    }
}
